package net.yunzhanyi.generic.domain.model;

import java.io.Serializable;

public class ClientFollow implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 被关注id
     */
    private Long followedId;

    /**
     * 关注的状态(1:已关注 0:取消关注
     */
    private Short followedStatus;

    /**
     * 最近一次关注的时间
     */
    private Long followedTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getFollowedId() {
        return followedId;
    }

    public void setFollowedId(Long followedId) {
        this.followedId = followedId;
    }

    public Short getFollowedStatus() {
        return followedStatus;
    }

    public void setFollowedStatus(Short followedStatus) {
        this.followedStatus = followedStatus;
    }

    public Long getFollowedTime() {
        return followedTime;
    }

    public void setFollowedTime(Long followedTime) {
        this.followedTime = followedTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", followedId=").append(followedId);
        sb.append(", followedStatus=").append(followedStatus);
        sb.append(", followedTime=").append(followedTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}